package com.fcscs.cservice.domain;

import com.fcscs.core.domain.HistoricalEntity;
import com.fcscs.cservice.common.CServiceCommonEnums.RestaurantConfigType;

public class RestaurantConfig extends HistoricalEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5707103328756729366L;
	/**
	 * 
	 */

	private long restaurantId;
	private RestaurantConfigType configTypeEnum;
	private String configType;
	private String note1;
	private String note2;
	private String note3;
	
	public long getRestaurantId() {
		return restaurantId;
	}

	public void setRestaurantId(long restaurantId) {
		this.restaurantId = restaurantId;
	}

	public RestaurantConfigType getConfigTypeEnum() {
		return configTypeEnum;
	}

	public void setConfigTypeEnum(RestaurantConfigType configTypeEnum) {
		if(configTypeEnum != null){
			setConfigType(configTypeEnum.toString());
			configType = configTypeEnum.toString();
		}
		this.configTypeEnum = configTypeEnum;
	}

	public String getConfigType() {
		return configType;
	}

	private void setConfigType(String configType) {
		this.configType = configType;
	}

	public String getNote1() {
		return note1;
	}

	public void setNote1(String note1) {
		this.note1 = note1;
	}

	public String getNote2() {
		return note2;
	}

	public void setNote2(String note2) {
		this.note2 = note2;
	}

	public String getNote3() {
		return note3;
	}

	public void setNote3(String note3) {
		this.note3 = note3;
	}

	@Override
	public DBLoc getDBLoc() {
		return DBLoc.GUEST;
	}

}
